﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

namespace ProjectBase.Core.Dao
{
    /// <summary>
    ///     Allows set Session for NHibernate base on 
    ///     HttpContext.Item (Web) 
    ///     or dummy for testing
    /// </summary>
    public interface INHRequestSession
    {
        object GetSession(string name);
        void SetSession(string name, object session);
    }
}